package wifiunion.com.notice.widget.selectmemberdialog.entity;


import java.io.Serializable;

import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberComparisonPic;
import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberName;
import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberParentUuid;
import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberPhone;
import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberSelected;
import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberShowPic;
import wifiunion.com.notice.widget.selectmemberdialog.annotation.SelectMemberUuid;

/**
 * Created by Administrator on 2018/7/9.
 * 添加更新识别对象 提交选中用户数据对象
 */

public class SelectMember implements Serializable {

    /**
     * 是否是分组
     * 0不是，1是
     */

    public int isGroup;

    /**
     * 分组uuid或者用户uuid  识别目标
     */
    @SelectMemberUuid
    public String uuid;

    /**
     * 父uuid
     */
    @SelectMemberParentUuid
    public String parentUuid;
    /**
     * 是否已经被选中
     * 0没有，1选中
     */
    @SelectMemberSelected
    public int isSelected;


    @SelectMemberPhone
    public String phone;


    /**
     * 识别照片
     */
    @SelectMemberComparisonPic
    public String comparisonPic;

    /**
     * 显示照片
     */
    @SelectMemberShowPic
    public String showPic;

    @SelectMemberName
    public String name;

    public SelectMember() {
    }

    public SelectMember(int isGroup, String uuid, String name, String parentUuid, int isSelected) {
        this.isGroup = isGroup;
        this.uuid = uuid;
        this.parentUuid = parentUuid;
        this.isSelected = isSelected;
        this.name = name;
    }


    public SelectMember(int isGroup, String uuid, String name, String parentUuid, int isSelected, String phone, String comparisonPic, String showPic) {
        this.isGroup = isGroup;
        this.uuid = uuid;
        this.parentUuid = parentUuid;
        this.isSelected = isSelected;
        this.phone = phone;
        this.comparisonPic = comparisonPic;
        this.showPic = showPic;
        this.name = name;
    }
}
